﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Result.aspx.cs" Inherits="Web.Result" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/Script/Result.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="Left">
        <div class="Box">
            <div class="BoxTitle">
                Sort flight
            </div>
            <div class="BoxContent">
                <asp:LinkButton ID="lnkSortPrice" runat="server" Text="Price"
                    CssClass="SortLink Ascending" OnClick="lnkSortPrice_Click"></asp:LinkButton><br />
                <asp:LinkButton ID="lnkSortFlightDuration" runat="server" Text="Flight duration"
                    CssClass="SortLink" OnClick="lnkSortFlightDuration_Click"></asp:LinkButton><br />
                <asp:LinkButton ID="lnkSortDepartureTime" runat="server" Text="Departure time"
                    CssClass="SortLink" OnClick="lnkSortDepartureTime_Click"></asp:LinkButton><br />
                <asp:LinkButton ID="lnkSortReturnTime" runat="server" Text="Return time"
                    CssClass="SortLink" OnClick="lnkSortReturnTime_Click"></asp:LinkButton><br />
            </div>
        </div>
        <div class="Box">
            <div class="BoxTitle">
                Filter
            </div>
            <div class="BoxContent">
                <b>Number of stop</b><br />
                <asp:CheckBox ID="ckbDirectFlight" runat="server" AutoPostBack="true" Checked="true" OnCheckedChanged="ckbDirectFlight_CheckedChanged" Text="Direct"/><br />
                <asp:CheckBox ID="ckbOneStop" runat="server" AutoPostBack="true" Checked="true" OnCheckedChanged="ckbOneStop_CheckedChanged" Text="1 stop"/><br />
                <asp:CheckBox ID="ckbTwoStop" runat="server" AutoPostBack="true" Checked="true" OnCheckedChanged="ckbTwoStop_CheckedChanged" Text="2 stops"/><br />
                <asp:CheckBox ID="ckbThreeStop" runat="server" AutoPostBack="true" Checked="true" OnCheckedChanged="ckbThreeStop_CheckedChanged" Text="3+ stops"/>
            </div>
            <div class="BoxContent">
                <b>Operating carrier</b><br />
                <asp:CheckBoxList ID="ckbListAirline" runat="server" OnSelectedIndexChanged="ckbListAirline_SelectedIndexChanged"
                    AutoPostBack="true">
                </asp:CheckBoxList>
            </div>
            <div class="BoxContent">
                <b>Price</b><br />
                <dx:ASPxTrackBar ID="trackBarPrice" runat="server" Width="100%" onvaluechanged="trackBarPrice_ValueChanged"
                    AutoPostBack="true" ValueToolTipFormatString="{0:0,0}">
                </dx:ASPxTrackBar>
                <div style="font-size: 11px; text-align: center;">
                    <asp:Label ID="lblPrice" runat="server"></asp:Label>
                </div>
            </div>
            <div class="BoxContent">
                <b>Total flight time</b><br />
                <dx:ASPxTrackBar ID="trackBarTotalFlightTime" runat="server" Width="100%" 
                    onvaluechanged="trackBarTotalFlightTime_ValueChanged" AutoPostBack="true">
                    <ClientSideEvents Init="function(s, e) {
                            s.getValueToolTipText = function (value) {
                                var minutes = value % 60;
                                var hours = (value - minutes) / 60;
                                var minutesString = minutes.toString();
                                minutesString = minutesString.length === 1 ? '0' + minutes : minutes;
                                return hours + 'h ' + minutesString + 'm';
                            };
                        }" />
                </dx:ASPxTrackBar>
                <div style="font-size: 11px; text-align: center;">
                    <asp:Label ID="lblTotalFlightTime" runat="server"></asp:Label>
                </div>
            </div>
            <div class="BoxContent">
                <b>Class</b><br />
                <asp:CheckBox ID="ckbAllClass" runat="server" Checked="true" Text="All class" AutoPostBack="true" OnCheckedChanged="ckbAllClass_CheckedChanged" />
                <asp:CheckBoxList ID="ckbListClass" runat="server" OnSelectedIndexChanged="ckbListClass_SelectedIndexChanged" AutoPostBack="true"></asp:CheckBoxList>
            </div>

        </div>
    </div>
    <div class="Right">
        <asp:Repeater ID="repFilght" runat="server" OnItemCommand="repFilght_ItemCommand">
            <ItemTemplate>
                <div class="BoxFareOption">
                    <div class="FlightContent">
                        <%--Departure--%>
                        <div class="FilghtItem">
                            <div class="FlightDirection">
                                Outbound flight: <%# DateTime.Parse(Eval("DepartureDate").ToString()).ToLongDateString()%>
                            </div>
                            <asp:Repeater ID="repDeparture" runat="server" DataSource='<%# Eval("ListDepartureFlight") %>'>
                                <ItemTemplate>
                                    <div class="FilghtInfo">
                                        <div class="FilghtInfoSummary">
                                            <table style="width:100%">
                                                <tr>
                                                    <td class="Airline">
                                                        <img alt="Airline logo" src='<%# "/Images/Airline/" + ((Eval("AirlineDetail.Logo") == null) ? "default.png" : Eval("AirlineDetail.Logo")) %>' />
                                                        <div class="AirlineName">
                                                           
                                                        </div>
                                                    </td>
                                                    <td class="Point">
                                                        <div class="City">
                                                            <%# Eval("StartPointCity.Name_En")%>
                                                        </div>
                                                        <div class="Time">
                                                            <%# ((DateTime)Eval("StartTm")).ToString("HH:mm") %>
                                                            <span style="font-size: 12px;">
                                                                <%# ((DateTime)Eval("StartTm")).ToString("dd/MM/yyyy") %><br />
                                                            </span>
                                                        </div>
                                                    </td>
                                                    <td class="Point">
                                                        <div class="City">
                                                            <%# Eval("EndPointCity.Name_En") %>
                                                        </div>
                                                        <div class="Time">
                                                            <%# ((DateTime)Eval("EndTm")).ToString("HH:mm")%>
                                                            <span style="font-size: 12px;">
                                                                <%# ((DateTime)Eval("EndTm")).ToString("dd/MM/yyyy")%><br />
                                                            </span>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        Stops:
                                                        <b>
                                                            <asp:Label ID="lblDirectFlight" runat="server" Text="Direct"
                                                                Visible='<%# (Convert.ToInt16(Eval("StopNum")) > 0) ? false : true %>'></asp:Label>
                                                            <asp:Label ID="lblNumStop" runat="server" Visible='<%# (Convert.ToInt16(Eval("StopNum")) > 0) ? true : false %>' Text='<%# Eval("StopNum") %>'></asp:Label>
                                                            <asp:Label ID="lblStopPoint" runat="server" Text="stop point" Visible='<%# (Convert.ToInt16(Eval("StopNum")) > 0) ? true : false %>'></asp:Label>
                                                        </b>
                                                    </td>
                                                    <td class="Detail" style="text-align: right">
                                                        <a id='<%# "DetailLinkDepart" + Eval("FareDataId") + Eval("Index") %>' href="javascript:void(0)" 
                                                            onclick="Toggle('<%# "DetailFlightDeparture" + Eval("FareDataId") + Eval("Index") %>', '<%# "DetailLinkDepart" + Eval("FareDataId") + Eval("Index") %>')">+ Show details</a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div class="SelectRadioButton">
                                            <input title="Select" name='<%# "DepartureFlight" + Eval("FareDataId") %>' type="radio" <%# Eval("Checked") %>
                                                value='<%# Eval("Index") %>' onclick="SelectFlight('<%# Eval("Index") %>', '<%# "DepartureFlight" + Eval("FareDataId") %>')" />
                                        </div>
                                        <div class="Clear"></div>
                                        <div id='<%# "DetailFlightDeparture" + Eval("FareDataId") + Eval("Index") %>' class="FlightInfoDetails" style="display:none">
                                            <asp:Repeater ID="repDepartureFlightDetail" runat="server" DataSource='<%# Eval("ListAvailFlt") %>'>
                                                <ItemTemplate>
                                                    <table>
                                                        <tr>
                                                            <td class="Airline">
                                                                <img alt="Airline logo" src='<%# "/Images/Airline/" + ((Eval("AirlineDetail.Logo") == null) ? "default.png" : Eval("AirlineDetail.Logo")) %>' />
                                                            </td>
                                                            <td class="Point">
                                                                <div class="City">
                                                                    <%# Eval("StartPointCity.Name_En")%>
                                                                </div>
                                                                <div class="Time">
                                                                    <span class="TimeTitle">Departure time</span> <%# new IBE.Common().GetDate(Eval("StartDt").ToString(), Eval("StartTm").ToString()).ToString("HH:mm")%><br />
                                                                    <span class="TimeTitle">Date</span> <%# new IBE.Common().GetDate(Eval("StartDt").ToString(), Eval("StartTm").ToString()).ToString("dd/MM/yyyy")%>
                                                                </div>
                                                            </td>
                                                            <td class="Point">
                                                                <div class="City">
                                                                    <%# Eval("EndPointCity.Name_En") %>
                                                                </div>
                                                                <div class="Time">
                                                                    <span class="TimeTitle">Arrival time</span> <%# new IBE.Common().GetDate(Eval("EndDt").ToString(), Eval("EndTm").ToString()).ToString("HH:mm")%><br />
                                                                    <span class="TimeTitle">Date</span> <%# new IBE.Common().GetDate(Eval("EndDt").ToString(), Eval("EndTm").ToString()).ToString("dd/MM/yyyy")%>
                                                                </div>
                                                            </td>
                                                            <td class="Detail">
                                                                Airline: <b><%# Eval("OpAirlineDetail.Name_En") %></b><br />
                                                                Flight number: <b><%# (Eval("IBE") == "lowcost") ? "" : Eval("AirlineDetail.Code")%><%# Eval("FltNum").ToString()%></b><br />
                                                                Duration: <b><%# string.Format("{0}h {1}m", TimeSpan.FromMinutes(Convert.ToInt32(Eval("FltTm"))).Hours, TimeSpan.FromMinutes(Convert.ToInt32(Eval("FltTm"))).Minutes) %></b><br />
                                                                Class: <b><%# Eval("ClassAdult") != "" ? Eval("ClassAdult") : "-" %></b>
                                                            </td>
                                                        </tr>
                                                    </table>

                                                    <div style='<%# (Eval("IsLastItem").ToString() == "1") ? "display: none": "display: block" %>' class="StopBar">
                                                       Stop at: <b><%# Eval("EndPointCity.Name_En")%> - <%# (Eval("EndPointAirport.Name_En") == Eval("EndPointAirport.Code")) ? "" : Eval("EndPointAirport.Name_En")%></b>
                                                        - Stop time: <b><%# string.Format("{0}h {1}m", ((TimeSpan)Eval("StopTime")).Days * 24 + ((TimeSpan)Eval("StopTime")).Hours, ((TimeSpan)Eval("StopTime")).Minutes)%></b>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </asp:Repeater>
                        </div>
                        <%--Return--%>
                        <asp:Panel ID="pnReturn" runat="server" Visible='<%# Eval("HasReturn") %>'>
                            <div class="FilghtItem">
                                <div class="FlightDirection">
                                    Inbound flight: <%# DateTime.Parse(Eval("ReturnDate").ToString()).ToLongDateString()%>
                                </div>
                                <asp:Repeater ID="repReturn" runat="server" DataSource='<%# Eval("ListReturnFlight") %>'>
                                    <ItemTemplate>
                                        <div class="FilghtInfo">
                                            <div class="FilghtInfoSummary">
                                                <table style="width:100%">
                                                    <tr>
                                                        <td class="Airline">
                                                            <img alt="Airline logo" src='<%# "/Images/Airline/" + ((Eval("AirlineDetail.Logo") == null) ? "default.png" : Eval("AirlineDetail.Logo")) %>' />
                                                            <div class="AirlineName">
                                                                
                                                            </div>
                                                        </td>
                                                        <td class="Point">
                                                            <div class="City">
                                                                <%# Eval("StartPointCity.Name_En")%>
                                                            </div>
                                                            <div class="Time">
                                                                <%# ((DateTime)Eval("StartTm")).ToString("HH:mm") %>
                                                                <span style="font-size: 12px;">
                                                                    <%# ((DateTime)Eval("StartTm")).ToString("dd/MM/yyyy") %><br />
                                                                </span>
                                                            </div>
                                                        </td>
                                                        <td class="Point">
                                                            <div class="City">
                                                                <%# Eval("EndPointCity.Name_En") %>
                                                            </div>
                                                            <div class="Time">
                                                                <%# ((DateTime)Eval("EndTm")).ToString("HH:mm")%>
                                                                <span style="font-size: 12px;">
                                                                    <%# ((DateTime)Eval("EndTm")).ToString("dd/MM/yyyy")%><br />
                                                                </span>
                                                            </div>
                                                        </td>
                                                        <td>
                                                            Stops:
                                                            <b>
                                                                <asp:Label ID="lblDirectFlight" runat="server" Text="Direct"
                                                                    Visible='<%# (Convert.ToInt16(Eval("StopNum")) > 0) ? false : true %>'></asp:Label>
                                                                <asp:Label ID="lblNumStop" runat="server" Visible='<%# (Convert.ToInt16(Eval("StopNum")) > 0) ? true : false %>' Text='<%# Eval("StopNum") %>'></asp:Label>
                                                                <asp:Label ID="lblStopPoint" runat="server" Text="stop point" Visible='<%# (Convert.ToInt16(Eval("StopNum")) > 0) ? true : false %>'></asp:Label>
                                                            </b>
                                                        </td>
                                                        <td class="Detail" style="text-align:right">
                                                            <a id='<%# "DetailLinkReturn" + Eval("FareDataId") + Eval("Index") %>' href="javascript:void(0)" 
                                                            onclick="Toggle('<%# "DetailFlightReturn" + Eval("FareDataId") + Eval("Index") %>', '<%# "DetailLinkReturn" + Eval("FareDataId") + Eval("Index") %>')">+ Show details</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div class="SelectRadioButton">
                                                <input title="Select" name='<%# "ReturnFlight" + Eval("FareDataId") %>' type="radio" <%# Eval("Checked") %>
                                                    value='<%# Eval("Index") %>' onclick="SelectFlight('<%# Eval("Index") %>', '<%# "ReturnFlight" + Eval("FareDataId") %>')" />
                                            </div>
                                            <div class="Clear"></div>
                                            <div id='<%# "DetailFlightReturn" + Eval("FareDataId") + Eval("Index") %>' class="FlightInfoDetails" style="display:none">
                                                <asp:Repeater ID="repReturnFlightDetail" runat="server" DataSource='<%# Eval("ListAvailFlt") %>'>
                                                    <ItemTemplate>
                                                        <table>
                                                            <tr>
                                                                <td class="Airline">
                                                                    <img alt="Airline logo" src='<%# "/Images/Airline/" + ((Eval("AirlineDetail.Logo") == null) ? "default.png" : Eval("AirlineDetail.Logo")) %>' />
                                                                </td>
                                                                <td class="Point">
                                                                    <div class="City">
                                                                        <%# Eval("StartPointCity.Name_En")%>
                                                                    </div>
                                                                    <div class="Time">
                                                                        <span class="TimeTitle">Departure time</span> <%# new IBE.Common().GetDate(Eval("StartDt").ToString(), Eval("StartTm").ToString()).ToString("HH:mm")%><br />
                                                                        <span class="TimeTitle">Date</span> <%# new IBE.Common().GetDate(Eval("StartDt").ToString(), Eval("StartTm").ToString()).ToString("dd/MM/yyyy")%>
                                                                    </div>
                                                                </td>
                                                                <td class="Point">
                                                                    <div class="City">
                                                                        <%# Eval("EndPointCity.Name_En") %>
                                                                    </div>
                                                                    <div class="Time">
                                                                        <span class="TimeTitle">Arrival time</span> <%# new IBE.Common().GetDate(Eval("EndDt").ToString(), Eval("EndTm").ToString()).ToString("HH:mm")%><br />
                                                                        <span class="TimeTitle">Date</span> <%# new IBE.Common().GetDate(Eval("EndDt").ToString(), Eval("EndTm").ToString()).ToString("dd/MM/yyyy")%>
                                                                    </div>
                                                                </td>
                                                                <td class="Detail">
                                                                    Airline: <b><%# Eval("OpAirlineDetail.Name_En") %></b><br />
                                                                    Flight number: <b><%# (Eval("IBE") == "lowcost") ? "" : Eval("AirlineDetail.Code")%><%# Eval("FltNum").ToString()%></b><br />
                                                                    Duration: <b><%# string.Format("{0}h {1}m", TimeSpan.FromMinutes(Convert.ToInt32(Eval("FltTm"))).Hours, TimeSpan.FromMinutes(Convert.ToInt32(Eval("FltTm"))).Minutes) %></b><br />
                                                                    Class: <b><%# Eval("ClassAdult") != "" ? Eval("ClassAdult") : "-" %></b>
                                                                </td>
                                                            </tr>
                                                        </table>

                                                        <div style='<%# (Eval("IsLastItem").ToString() == "1") ? "display: none": "display: block" %>' class="StopBar">
                                                            Stop at: <b><%# Eval("EndPointCity.Name_En")%> - <%# (Eval("EndPointAirport.Name_En") == Eval("EndPointAirport.Code")) ? "" : Eval("EndPointAirport.Name_En")%></b>
                                                            - Stop time: <b><%# string.Format("{0}h {1}m", ((TimeSpan)Eval("StopTime")).Days * 24 + ((TimeSpan)Eval("StopTime")).Hours, ((TimeSpan)Eval("StopTime")).Minutes)%></b>
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </div>
                                        </div>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </div>
                        </asp:Panel>
                    </div>
                    <div class="PriceContent">
                        <div class="Price">
                            <span class="TotalPriceTitle">
                                <%# (DetectVNFare(bool.Parse(Eval("HasReturn").ToString()), Eval("PlatingCarrier").ToString(), Eval("IBE").ToString(), Eval("ListDepartureFlight[0].StartPointCity.tblGeoCountry.Code").ToString(), Eval("ListDepartureFlight[0].EndPointCity.tblGeoCountry.Code").ToString())) ? "FARE" : "TOTAL PRICE"%>
                            </span>
                            <span class="TotalPrice">
                                <%# (Convert.ToDecimal(Eval("TotalFare")) + Convert.ToDecimal(Eval("TotalFee"))).ToString("#,0.##") + " " + Eval("CurrencyCode").ToString() %>
                            </span>
                            <span style='<%# (Eval("IBE").ToString() == "lowcost") ? "": "display: none" %>'>
                                <img alt="Low cost" src="Images/lowcost.jpg" height="18" title="Low cost carrier" style="cursor:pointer; margin-bottom: -5px" />
                            </span>
                        </div>
                        <div class="PriceDetailLink">
                            <a id='<%# "DetailLinkFare" + Eval("FareDataId") %>' href="javascript:void(0)"  style='<%# (!DetectVNFare(bool.Parse(Eval("HasReturn").ToString()), Eval("PlatingCarrier").ToString(), Eval("IBE").ToString(), Eval("ListDepartureFlight[0].StartPointCity.tblGeoCountry.Code").ToString(), Eval("ListDepartureFlight[0].EndPointCity.tblGeoCountry.Code").ToString())) ? "" : "display: none"%>'
                                onclick="ToggleFare('<%# "DetailFare" + Eval("FareDataId") %>', '<%# "DetailLinkFare" + Eval("FareDataId") %>')">+ Show details</a>

                            <%--Warning VNA fare--%>
                            <span style='<%# (DetectVNFare(bool.Parse(Eval("HasReturn").ToString()), Eval("PlatingCarrier").ToString(), Eval("IBE").ToString(), Eval("ListDepartureFlight[0].StartPointCity.tblGeoCountry.Code").ToString(), Eval("ListDepartureFlight[0].EndPointCity.tblGeoCountry.Code").ToString())) ? "" : "display: none"%>'>
                                <img alt="Warning" src="/Images/warning-icon-hi.png" height="16" />
                                TAX will be added in next page.
                            </span>

                        </div>
                        <div class="ContinueButton">
                            <input type="hidden" id='<%# "FareItem" + Eval("FareDataId") %>' value='<%# Eval("FareDataId") %>' name='<%# "FareItem" + Eval("FareDataId") %>' />
                            <input type="hidden" id='<%# "DepartureFlight" + Eval("FareDataId") %>' value="0" name='<%# "DepartureFlightValue" + Eval("FareDataId") %>' />
                            <input type="hidden" id='<%# "ReturnFlight" + Eval("FareDataId") %>' value="0" name='<%# "ReturnFlightValue" + Eval("FareDataId") %>' />
                            <input type="hidden" id='<%# "HasReturn" + Eval("FareDataId") %>' value='<%# Eval("HasReturn") %>' name='<%# "HasReturn" + Eval("FareDataId") %>' />
                            <%--<asp:Button ID="btnContinue" runat="server" CommandName="Continue" CommandArgument='<%# Eval("FareDataId") %>' Text="Continue" CssClass="ButtonContinue" />--%>
                            <dx:ASPxButton ID="btnContinue" runat="server" Text="Continue" CommandName="Continue" CommandArgument='<%# Eval("FareDataId") %>' CssClass="ButtonContinue" Native="true" >
                            </dx:ASPxButton>
                        </div>
                        <div class="Clear"></div>
                        <div id='<%# "DetailFare" + Eval("FareDataId") %>' class="PriceDetail" style="display:none">
                            <table style="width: 100%">
                                <tr style="font-weight: bold;">
                                    <td>Passenger type</td>
                                    <td style="text-align: center">Quantity</td>
                                    <td class="PriceLine">Price</td>
                                    <td class="PriceLine">Total</td>
                                </tr>
                                <tr>
                                    <td>Adult</td>
                                    <td style="text-align: center"><%# Eval("TotalAdult").ToString() %></td>
                                    <td class="PriceLine"><span class="PriceItem"><%# (Convert.ToDecimal(Eval("FareAdult")) + Convert.ToDecimal(Eval("FeeAdult"))).ToString("#,0.##") %></span> <%# Eval("CurrencyCode").ToString() %></td>
                                    <td class="PriceLine"><span class="PriceItem"><%# (Convert.ToDecimal(Eval("TotalAdult").ToString())*(Convert.ToDecimal(Eval("FareAdult")) + Convert.ToDecimal(Eval("FeeAdult")))).ToString("#,0.##") %></span> <%# Eval("CurrencyCode").ToString() %></td>
                                </tr>
                                <tr style='<%# (Convert.ToInt16(Eval("TotalChild")) > 0) ? "": "display: none" %>'>
                                    <td>Child</td>
                                    <td style="text-align: center"><%# Eval("TotalChild").ToString() %></td>
                                    <td class="PriceLine"><span class="PriceItem"><%# (Convert.ToDecimal(Eval("FareChild")) + Convert.ToDecimal(Eval("FeeChild"))).ToString("#,0.##") %></span> <%# Eval("CurrencyCode").ToString() %></td>
                                    <td class="PriceLine"><span class="PriceItem"><%# (Convert.ToDecimal(Eval("TotalChild").ToString())*(Convert.ToDecimal(Eval("FareChild")) + Convert.ToDecimal(Eval("FeeChild")))).ToString("#,0.##") %></span> <%# Eval("CurrencyCode").ToString() %></td>
                                </tr>
                                <tr style='<%# (Convert.ToInt16(Eval("TotalInfant")) > 0) ? "": "display: none" %>'>
                                    <td>Infant</td>
                                    <td style="text-align: center"><%# Eval("TotalInfant").ToString() %></td>
                                    <td class="PriceLine"><span class="PriceItem"><%# (Convert.ToDecimal(Eval("FareInfant")) + Convert.ToDecimal(Eval("FeeInfant"))).ToString("#,0.##") %></span> <%# Eval("CurrencyCode").ToString() %></td>
                                    <td class="PriceLine"><span class="PriceItem"><%# (Convert.ToDecimal(Eval("TotalInfant").ToString())*(Convert.ToDecimal(Eval("FareInfant")) + Convert.ToDecimal(Eval("FeeInfant")))).ToString("#,0.##") %></span> <%# Eval("CurrencyCode").ToString() %></td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="Clear"></div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <div class="PageNumber">
            <asp:HiddenField ID="hdnPageIndex" runat="server" Value="0" />
            <asp:Repeater ID="repPages" runat="server" OnItemCommand="repPages_ItemCommand">
                <ItemTemplate>
                    <asp:LinkButton ID="btnPage" CommandName="Page" CommandArgument="<%# Container.DataItem %>"
                        runat="server"><%# Container.DataItem %></asp:LinkButton>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
    <div class="Clear"></div>
    <asp:HiddenField ID="hdhSortValue" runat="server" Value="Price" />
    <asp:HiddenField ID="hdhSortStatus" runat="server" Value="0" />
    <asp:HiddenField ID="hdhSearchArchiveId" runat="server" />
</asp:Content>
